package com.training.bt.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.training.bt.entity.UserTag;

public interface UserTagMapper extends BaseMapper<UserTag> {
    @Select("SELECT tag_id FROM user_tag WHERE user_id = #{userId}")
    List<Long> findTagidByUser(@Param("userId") Long userId);

}